/**
 * Copyright 2014-2016 com.lycheeframework.mapping
 * All rights reserved.
 * 
 * @project
 * @author Administrator
 * @version 1.0
 * @date 2016-08-09
 */
package com.eyaomall.wxmall.model.po;

import java.math.BigDecimal;
import java.util.Date;

import com.lycheeframework.core.model.IPO;

/**
 * 
 * @author Administrator
 *
 */
public class DiscountRecord implements IPO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 *  主键 ID
	 */
	private Integer id;

	/**
	 *  会员id
	 */
	private Integer memberId;

	/**
	 *  店铺名称
	 */
	private String shopName;

	/**
	 *  原价
	 */
	private BigDecimal oriPrice;

	/**
	 *  底价
	 */
	private BigDecimal lastPrice;

	/**
	 *  现价
	 */
	private BigDecimal price;

	/**
	 *  购买数量
	 */
	private Integer num;

	/**
	 *  商品id
	 */
	private Integer goodsId;

	/**
	 *  砍价活动id
	 */
	private Integer discountId;

	/**
	 *  创建时间
	 */
	private Date gmtCreate;

	/**
	 *  修改时间	
	 */
	private Date gmtModified;

	/**
	 *  活动开始时间
	 */
	private Date gmtStart;

	/**
	 *  活动结束时间
	 */
	private Date gmtEnd;

	/**
	 *  标题
	 */
	private String title;

	/**
	 * IMG_URL
	 */
	private String imgUrl;
	
	/**
	 * 是否砍价成功，一旦成功，用户将不能再次参与该活动，1代表成功
	 */
	private String issuccess;

	/**
	 * 砍了多少刀
	 */
	private Integer discountNum;
	
	/**
	 * 手动关闭该活动记录
	 */
	private String close;
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMemberId() {
		return memberId;
	}
	
	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public String getShopName() {
		return shopName;
	}
	
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public BigDecimal getOriPrice() {
		return oriPrice;
	}
	
	public void setOriPrice(BigDecimal oriPrice) {
		this.oriPrice = oriPrice;
	}

	public BigDecimal getLastPrice() {
		return lastPrice;
	}
	
	public void setLastPrice(BigDecimal lastPrice) {
		this.lastPrice = lastPrice;
	}

	public BigDecimal getPrice() {
		return price;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getNum() {
		return num;
	}
	
	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getGoodsId() {
		return goodsId;
	}
	
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getDiscountId() {
		return discountId;
	}
	
	public void setDiscountId(Integer discountId) {
		this.discountId = discountId;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}
	
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}
	
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public Date getGmtStart() {
		return gmtStart;
	}
	
	public void setGmtStart(Date gmtStart) {
		this.gmtStart = gmtStart;
	}

	public Date getGmtEnd() {
		return gmtEnd;
	}
	
	public void setGmtEnd(Date gmtEnd) {
		this.gmtEnd = gmtEnd;
	}

	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}

	public String getImgUrl() {
		return imgUrl;
	}
	
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getIssuccess() {
		return issuccess;
	}

	public void setIssuccess(String issuccess) {
		this.issuccess = issuccess;
	}

	public Integer getDiscountNum() {
		return discountNum;
	}

	public void setDiscountNum(Integer discountNum) {
		this.discountNum = discountNum;
	}

	public String getClose() {
		return close;
	}

	public void setClose(String close) {
		this.close = close;
	}
}